package yxy.cherry.battle.module.record.stream;

import yxy.cherry.battle.Fighter;

public class RecordStream43Shield extends RecordStream{
    Fighter target;
    long damage = 0L;

    public RecordStream43Shield(Fighter fighter, long damage){
        this.target = fighter;
        this.damage = damage;
    }

    @Override
    protected void _record() {
        sb().append(43);
        sb().append("|");
        sb().append(target.getFighterPosition().code());
        sb().append("|");
        sb().append(damage);
        sb().append(";");
    }
}
